package cn.gotom.pinggu.pojos;


import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import cn.gotom.core.pojos.BaseEntity;
import cn.gotom.core.pojos.User;

/**
 * 
 * 数据采集数据表
 * 
 * @author peixere@qq.com
 * 
 * @version 2012-12-03
 * 
 */
@Entity
@Table()
public class Sjcjb extends BaseEntity implements Serializable
{
	private static final long serialVersionUID = 1L;

	/**
	 * 测算方法
	 */
	@Column(name = "csff", length = 11)
	private CsffEnum csff;

	/**
	 * 纳税人代码
	 */
	@Column(length = 50)
	private String nsrdm;

	/**
	 * 纳税人名称
	 */
	@Column(length = 500)
	private String nsrmc;

	/**
	 * 年
	 */
	@Column(length = 11)
	private int nd;

	/**
	 * 创建人
	 */
	@JoinColumn(name = "user_id", referencedColumnName = "id")
	@ManyToOne
	private User user;

	public CsffEnum getCsff()
	{
		return csff;
	}

	public void setCsff(CsffEnum csff)
	{
		this.csff = csff;
	}

	public String getNsrdm()
	{
		return nsrdm;
	}

	public void setNsrdm(String nsrdm)
	{
		this.nsrdm = nsrdm;
	}

	public String getNsrmc()
	{
		return nsrmc;
	}

	public void setNsrmc(String nsrmc)
	{
		this.nsrmc = nsrmc;
	}

	public int getNd()
	{
		return nd;
	}

	public void setNd(int nd)
	{
		this.nd = nd;
	}

	public User getUser()
	{
		return user;
	}

	public void setUser(User user)
	{
		this.user = user;
	}
}